
Technical Q&A's
QTMTB 25 - How to Get Movie Frame Time Parameter for GetMoviePict (1-May-95)
Q How do I find the correct time values to pass to GetMoviePict, to get all the
sequential frames of a QuickTime movie?
A The best way to find the correct time to pass to get movie frames is to call
the GetMovieNextInterestingTime routine repeatedly. Note that the first time
you call GetMovieNextInterestingTime its flags parameter should have a value of
nextTimeMediaSample+nextTimeEdgeOK to get the first frame.
For subsequent calls the value of flags should be nextTimeMediaSample. Also,
the whichMediaTypes parameter should include only tracks with visual
information, VisualMediaCharacteristic or 'eyes'. Check the Movie Toolbox
chapter of the QuickTime documentation for details about the
GetMovieNextInterestingTime call.
Technical Support
Technical Q&As
Previous Question | Contents | Next Question

Main |
Page One |
What's New |
Apple Computer, Inc. |
Find It |
Contact Us |
Help